<#import "/layout/common.html" as com>
<#escape x as x?html>
<#assign header><a href="/game">Kho Game</a></#assign>
<#assign inline>Tải ngay chẳng tốn một đồng!</#assign>
<#assign pageCss>
.a{border-bottom:1px dashed #666666;margin-left:20px;margin-bottom:8px;}
.a p{border-top:1px dashed #666666;padding-top:8px;margin:8px 0 4px 0;}
.a img{width:40px;height:30px;}
b.sel{background:transparent url(${com.baseUrl!?html}files/img/game.gif) left center no-repeat; padding-left:20px;}
a.n{font-weight:bold;}
</#assign>
<@com.page title="Java Mobile Game" css=pageCss header=header inline=inline>
<b class="sel">Chọn game</b>
<#if games?has_content>
<div class="a">
<#list games as game><p>
<a class="n" href="/game/${game.code!?html}">${game.title!?html}</a>
<br/>${game.fileSize!0?html} KB <#if game.jarUrl?has_content>- <a href="${game.jarUrl}">JAR</a></#if> <#if game.jadUrl?has_content>- <a href="${game.jadUrl}">JAD</a></#if>
<br/>${game.intro!}
</p></#list>
</div>
</#if>
Trang: <#list 1..9 as p><#if p=page><b>${p}</b><#else><a href="?p=${p}">${p}</a></#if> </#list>
</@com.page>

</#escape>